package svc

import (
	"go_zero_list/doctor_api/internal/config"
	"go_zero_list/doctor_rpc/doctorrpcclient"
)

type ServiceContext struct {
	Config    config.Config
	DoctorRpc doctorrpcclient.DoctorRpc
}

func NewServiceContext(c config.Config) *ServiceContext {
	return &ServiceContext{
		Config:    c,
		DoctorRpc: doctorrpcclient.NewDoctorRpc(),
	}
}
